home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 July: Mac OS SDK / Dev.CD Jul 99 SDK1.toast / Development Kits / Mac OS / Apple Shared Library Manager / ASLM 2.0.1 Licensing Disk / Sources / ASLMPackageRules.r < prev    next >
Encoding:
Text File  |  1996-11-19  |  2.8 KB  |  156 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        ASLMPackageRules.r
  3.  
  4.     Contains:    Rules to add Custom and Easy Install packages.
  5.  
  6.     Copyright:    © 1994 by Apple Computer, Inc., all rights reserved.
  7.  
  8. */
  9.  
  10.  
  11. /**********************************************************************
  12. ** Easy Install rules to add the correct package depending
  13. ** on the system being run.
  14. ***********************************************************************/
  15.  
  16. resource 'inrl' (rAddEtherTalkPackage)
  17. {
  18.     format0
  19.     {{
  20. #if INTERNATIONAL
  21.         checkAllAssertions {{isUS}},
  22. #endif
  23.         checkAllNonAssertions{{aHasEtherTalk}},
  24.         AddPackages {{pAddEtherTalk}},
  25.     }};
  26. };
  27.  
  28. #if GENERATING68K
  29.  
  30.     resource 'inrl' (rAddSystem6Package)
  31.     {
  32.         format0
  33.         {{
  34.     #if INTERNATIONAL
  35.             checkAllAssertions {{isUS}},
  36.     #endif
  37.             checkAllAssertions{{aHasSystem6}},
  38.             AddPackages {{pASLMForSystem6}},
  39.         }};
  40.     };
  41.     
  42.     resource 'inrl' (rAddSystem7Package)
  43.     {
  44.         format0
  45.         {{
  46.     #if INTERNATIONAL
  47.             checkAllAssertions {{isUS}},
  48.     #endif
  49.             checkAllAssertions{{aHasSystem7}},
  50.             AddPackages {{pASLMForSystem7}},
  51.         }};
  52.     };
  53.     
  54.     resource 'inrl' (rAddSystemAUXPackage)
  55.     {
  56.         format0
  57.         {{
  58.     #if INTERNATIONAL
  59.             checkAllAssertions {{isUS}},
  60.     #endif
  61.             checkAllAssertions{{aHasSystemAUX}},
  62.             AddPackages {{pASLMForSystemAUX}},
  63.         }};
  64.     };
  65.  
  66. #endif
  67.  
  68. #if GENERATINGPOWERPC
  69.  
  70.     resource 'inrl' (rAddSystemPPCPackage)
  71.     {
  72.         format0
  73.         {{
  74.     #if INTERNATIONAL
  75.             checkAllAssertions {{isUS}},
  76.     #endif
  77.             checkAllAssertions{{aHasSystemPPC}},
  78.             AddPackages {{pASLMForSystemPPC}},
  79.         }};
  80.     };
  81.  
  82. #endif
  83.  
  84. /*******************************************************************************
  85. ** Custom Install rules to add the correct package depending
  86. ** on the system being run.
  87. ********************************************************************************/
  88.  
  89. resource 'inrl' (rAddEtherTalkCustomPackage)
  90. {
  91.     format0
  92.     {{
  93. #if INTERNATIONAL
  94.         checkAllAssertions {{isUS}},
  95. #endif
  96.         checkAllNonAssertions{{aHasEtherTalk}},
  97.         AddPackages {{pAddEtherTalk}},
  98.     }};
  99. };
  100.  
  101. #if GENERATING68K
  102.  
  103.     resource 'inrl' (rAddSystem6CustomPackage)
  104.     {
  105.         format0
  106.         {{
  107.     #if INTERNATIONAL
  108.             checkAllAssertions {{isUS}},
  109.     #endif
  110.             checkAllAssertions{{aHasSystem6}},
  111.             AddCustomItems {{pASLMForSystem6}},
  112.         }};
  113.     };
  114.     
  115.     resource 'inrl' (rAddSystem7CustomPackage)
  116.     {
  117.         format0
  118.         {{
  119.     #if INTERNATIONAL
  120.             checkAllAssertions {{isUS}},
  121.     #endif
  122.             checkAllAssertions{{aHasSystem7}},
  123.             AddCustomItems {{pASLMForSystem7}},
  124.         }};
  125.     };
  126.     
  127.     resource 'inrl' (rAddSystemAUXCustomPackage)
  128.     {
  129.         format0
  130.         {{
  131.     #if INTERNATIONAL
  132.             checkAllAssertions {{isUS}},
  133.     #endif
  134.             checkAllAssertions{{aHasSystemAUX}},
  135.             AddCustomItems {{pASLMForSystemAUX}},
  136.         }};
  137.     };
  138.  
  139. #endif
  140.  
  141. #if GENERATINGPOWERPC
  142.  
  143.     resource 'inrl' (rAddSystemPPCCustomPackage)
  144.     {
  145.         format0
  146.         {{
  147.     #if INTERNATIONAL
  148.             checkAllAssertions {{isUS}},
  149.     #endif
  150.             checkAllAssertions{{aHasSystemPPC}},
  151.             AddCustomItems {{pASLMForSystemPPC}},
  152.         }};
  153.     };
  154.  
  155. #endif
  156.